// 登录
import request from "../untils/request";
// 获取验证码
export const Login = (phone) => {
    return request("/api/front/sendCode",{phone:phone},"post",{"Content-Type":"application/x-www-form-urlencoded"})
}
// 验证码登录
export const userLogin=(captcha,phone)=>{
	return request("/api/front/login/mobile",{captcha:captcha,phone:phone},"post")
}
//手机密码登录
export const userLoginWord=(account,password)=>{
	return request("/api/front/login",{account:account,password:password},"post")
}